package com.qjz.diancan.service;


import com.qjz.diancan.model.dto.LoginDto;
import com.qjz.diancan.model.entity.User;

import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zhu
 * @since 2024-02-14
 */
public interface UserService {

    Map<String, Object> login(LoginDto loginDto);

    void logout(String token);

    void register(User user);

    User getUserInfoByUserName(String username);
}
